package com.sjlh.centurylianhua.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName(value = "refund_log")
public class RefundLog {
    @TableId(type= IdType.AUTO)
    private Integer id;//编号
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss") // 存日期时使用
    private Date creatTime;//退货时间
    private Integer depotId;//退货仓库
    private String depotName;//进货仓库
    private Integer supplierId;//所属供货商
    private String supplierName;//供货商名字
    private String purchaseCodeId;//进货订单号
    private Integer num;//商品种类
    private double total;//总计
    private Integer state;//是否出库
    private Integer userId;//操作用户
    private String userName;//所属用户名
    private String payment;//支付方式
    private String remark;//备注
    private String standby1;//备用字段
    private String standby2;
    private String standby3;
}
